package com.koron.system.company.service;

import com.koron.bean.base.Response;
import com.koron.bean.query.PageQuery;
import com.koron.system.company.pojo.po.CompanyPO;
import com.koron.system.company.pojo.query.CompanyQuery;
import org.koron.ebs.mybatis.SessionFactory;

public interface CompanyService {
    Response page(SessionFactory sessionFactory, PageQuery pageQuery, CompanyQuery companyQuery);

    Response save(SessionFactory sessionFactory, CompanyPO companyPO);

    Response delete(SessionFactory sessionFactory, Integer id);

    Response get(SessionFactory sessionFactory, CompanyQuery companyQuery);
}
